package com.iplant.ams.service.po.dms.scada.para;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Calendar;


/**
 * 设备实时参数，需要自写查询语句
 */
public class DMSDeviceRealParameter implements Serializable {

    public int ID = 0;
    public int ParameterID = 0;

    /**
     * 参数代码
     */

    public String ParameterCode = "";

    /**
     * 参数名称   同设备 同数据分类下Name唯一  汉字
     */

    public String ParameterName = "";

    /**
     * 变量名称
     */
    public String VariableName = "";
    /**
     * 设备ID
     */
    public int DeviceID = 0;

    /**
     * 设备编码
     */

    public String DeviceNo = "";

    /**
     * 设备名称
     */

    public String DeviceName = "";
    /**
     * 固定资产编码  采集编码
     */

    public String AssetNo = "";


    /**
     * 数据类型
     */
    public int DataType = 0;
    /**
     * 数据类型文本
     */
    public String DataTypeText = "";
    /**
     * 数据分类
     */
    public int DataClass = 0;
    /**
     * 数据分类文本
     */
    public String DataClassText = "";

    /**
     * 字符主键
     */
    public String KeyChar = "";

    /**
     * 字符辅键
     */
    public String AuxiliaryChar = "";

    /**
     * 上限值
     */
    public double ValueRight = 0;

    /**
     * 下限值
     */
    public double ValueLeft = 0;
    /**
     * 备注
     */
    public String ParameterDesc = "";

    /**
     * 参数值
     */

    public String ParameterValue = "";

    /**
     * 编辑时刻
     */

    public Calendar UpdateTime = Calendar.getInstance();

    public int PositionID = 0;

    public String PositionName = "";

    public int IsChange = 0;

    @JsonProperty("ID")
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    @JsonProperty("ParameterID")
    public int getParameterID() {
        return ParameterID;
    }

    public void setParameterID(int parameterID) {
        ParameterID = parameterID;
    }

    @JsonProperty("ParameterCode")
    public String getParameterCode() {
        return ParameterCode;
    }

    public void setParameterCode(String parameterCode) {
        ParameterCode = parameterCode;
    }

    @JsonProperty("ParameterName")
    public String getParameterName() {
        return ParameterName;
    }

    public void setParameterName(String parameterName) {
        ParameterName = parameterName;
    }

    @JsonProperty("VariableName")
    public String getVariableName() {
        return VariableName;
    }

    public void setVariableName(String variableName) {
        VariableName = variableName;
    }

    @JsonProperty("DeviceID")
    public int getDeviceID() {
        return DeviceID;
    }

    public void setDeviceID(int deviceID) {
        DeviceID = deviceID;
    }

    @JsonProperty("DeviceNo")
    public String getDeviceNo() {
        return DeviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        DeviceNo = deviceNo;
    }

    @JsonProperty("DeviceName")
    public String getDeviceName() {
        return DeviceName;
    }

    public void setDeviceName(String deviceName) {
        DeviceName = deviceName;
    }

    @JsonProperty("AssetNo")
    public String getAssetNo() {
        return AssetNo;
    }

    public void setAssetNo(String assetNo) {
        AssetNo = assetNo;
    }

    @JsonProperty("DataType")
    public int getDataType() {
        return DataType;
    }

    public void setDataType(int dataType) {
        DataType = dataType;
    }

    @JsonProperty("DataTypeText")
    public String getDataTypeText() {
        return DataTypeText;
    }

    public void setDataTypeText(String dataTypeText) {
        DataTypeText = dataTypeText;
    }

    @JsonProperty("DataClass")
    public int getDataClass() {
        return DataClass;
    }

    public void setDataClass(int dataClass) {
        DataClass = dataClass;
    }

    @JsonProperty("DataClassText")
    public String getDataClassText() {
        return DataClassText;
    }

    public void setDataClassText(String dataClassText) {
        DataClassText = dataClassText;
    }

    @JsonProperty("KeyChar")
    public String getKeyChar() {
        return KeyChar;
    }

    public void setKeyChar(String keyChar) {
        KeyChar = keyChar;
    }

    @JsonProperty("AuxiliaryChar")
    public String getAuxiliaryChar() {
        return AuxiliaryChar;
    }

    public void setAuxiliaryChar(String auxiliaryChar) {
        AuxiliaryChar = auxiliaryChar;
    }

    @JsonProperty("ValueRight")
    public double getValueRight() {
        return ValueRight;
    }

    public void setValueRight(double valueRight) {
        ValueRight = valueRight;
    }

    @JsonProperty("ValueLeft")
    public double getValueLeft() {
        return ValueLeft;
    }

    public void setValueLeft(double valueLeft) {
        ValueLeft = valueLeft;
    }

    @JsonProperty("ParameterDesc")
    public String getParameterDesc() {
        return ParameterDesc;
    }

    public void setParameterDesc(String parameterDesc) {
        ParameterDesc = parameterDesc;
    }

    @JsonProperty("ParameterValue")
    public String getParameterValue() {
        return ParameterValue;
    }

    public void setParameterValue(String parameterValue) {
        ParameterValue = parameterValue;
    }

    @JsonProperty("UpdateTime")
    public Calendar getUpdateTime() {
        return UpdateTime;
    }

    public void setUpdateTime(Calendar updateTime) {
        UpdateTime = updateTime;
    }

    @JsonProperty("PositionID")
    public int getPositionID() {
        return PositionID;
    }

    public void setPositionID(int positionID) {
        PositionID = positionID;
    }

    @JsonProperty("PositionName")
    public String getPositionName() {
        return PositionName;
    }

    public void setPositionName(String positionName) {
        PositionName = positionName;
    }

    @JsonProperty("IsChange")
    public int getIsChange() {
        return IsChange;
    }

    public void setIsChange(int isChange) {
        IsChange = isChange;
    }
}
